import {createSSRApp} from "vue";
import App from "./App.vue";

//引入uview plus
import uviewPlus from 'uview-plus'
//引入pinia
import pinia from '@/store/index'
//引入网络请求拦截器
import "@/utils/httpInterceptor"

export function createApp() {
    const app = createSSRApp(App);
    app.use(uviewPlus)
    app.use(pinia)
    return {
        app,
        pinia,
    };
}
